package edu.hwadee.entity;

import java.util.Date;

/**
 * Officematerialbuy entity. @author MyEclipse Persistence Tools
 */

public class Officematerialbuy implements java.io.Serializable {

	// Fields

	private Integer officematerialBuyId;
	private Staff staff;
	private Officematerial officematerial;
	private Float buyNumber;
	private Date buyDate;
	private Short paymentState;

	// Constructors

	/** default constructor */
	public Officematerialbuy() {
	}

	/** full constructor */
	public Officematerialbuy(Staff staff, Officematerial officematerial, Float buyNumber, Date buyDate,
			Short paymentState) {
		this.staff = staff;
		this.officematerial = officematerial;
		this.buyNumber = buyNumber;
		this.buyDate = buyDate;
		this.paymentState = paymentState;
	}

	// Property accessors

	public Integer getOfficematerialBuyId() {
		return this.officematerialBuyId;
	}

	public void setOfficematerialBuyId(Integer officematerialBuyId) {
		this.officematerialBuyId = officematerialBuyId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Officematerial getOfficematerial() {
		return this.officematerial;
	}

	public void setOfficematerial(Officematerial officematerial) {
		this.officematerial = officematerial;
	}

	public Float getBuyNumber() {
		return this.buyNumber;
	}

	public void setBuyNumber(Float buyNumber) {
		this.buyNumber = buyNumber;
	}

	public Date getBuyDate() {
		return this.buyDate;
	}

	public void setBuyDate(Date buyDate) {
		this.buyDate = buyDate;
	}

	public Short getPaymentState() {
		return this.paymentState;
	}

	public void setPaymentState(Short paymentState) {
		this.paymentState = paymentState;
	}

}